Fixing search related issues. The query used was incorrect.
Author: Ashwin