Fixed bug in 'in' query.