[#1907] Faris - Enquiry doesn't update when empty criteria is sent.
[#1907] Faris - Added test for nil criteria.
Merge pull request #591 from farismosman/master

[#1907] Faris - Enquiry doesn't update when empty or nil criteria is sent.