Adding Exception Handling When no results are generated