changes in mongo storage to search independent of the orders of key fields