Ticket: 194
Ticket: 192
Fixed many-to-many handling when join table component is accessed before the associated component, fixes #136, #84