Deleting history rows no longer crashing