Fix a problem with :through relationships (HasManyColumns)