Add fallbacks to Search results in case of no data.

Prevent PHP Fatal Error if results is executed without data.