Fixed 'Bug 16850 - Search box not giving a result in some cases'.