Fixed an exception when clicking on a file that had no errors in it