Caught an error being thrown when no results came back