Allow objects in arrays to be a condition