When iterating models, correctly find all non-abstract ones.