Fixed relationship queries so that it traverse the correct direction.

Example: `Person.all(conditions: {best_friend: me})` should only return all people having me as best friend, but not including me.
Also make sure condition query only uses `has_one` declared relationships.