fixing list value queries (in, nin, all)