Fix validation of $push or $addToSet for non-objects