Fix has_many_through_join

Attributes were in the wrong order