Fixing for an issue on search page.
Fixing for some issues for nil data.