Normalize hasMany polymorphic types. Fixes #1338
Merge pull request #1400 from bradleypriest/hasMany-poly

Normalize hasMany polymorphic types. Fixes #1338