support all and elemMatch command operator.