Singularization fix for *ToMany related properties when generating entity