Fixed #376. Honor 'uselist' flag when generating relations even if relation type is ONETOMANY'