lets AR handle casting of db condition for assignable_members

The statement in it's prior form didn't work on posgresql.