support for $gt,$lt,$in,$eq,$regex for array criteria added