Fix handling of schema qualified tables in many_through_many associations