Fix WHERE X IN Y for Riak backend