Fix traceback with bad/no results.