Small improvements in the findBy<xxx> methods generation