ORM: Add through_where parameter in many_many relation configuration