fixed has_many_through join function for polymorphic relations