Fix $and in an array of values.