Fixed stupid bug where items in the jobs list were being deleted incorrectly, causing a crash