Not to casting conditions values for some of mongodb query operators.

Conditions values shouldn't cast when we use some of mongodb query operators (like $exists, $type, $mod, $size) on non-scalar fields.

Issues #1091 and #1085 fixed.