use correct operator in query based on JSON document
Merge pull request #16780 from viditn91/use-correct-operators-in-query

use correct operator in query based on JSON document [ci skip]