Joins updated

- OneToMany joins are now working correctly.