Fixes #7041: fixed incorrect belongs_to mappings

:conditions reference columns from the local (to the relation) table, while the condition is applied to the remote side of the association. The condition can be removed, as it's redundant anyway.