Update topics_controller.rb

catching the empty results error and returning empty topics so that the user is not redirect to the main page with no idea why...