Fixes one-to-many and many-to-many