fix finding by an array ("field IN (...)")