Quality as a source of resilience for small and mid-cap investing