Bug fix on search page