Clean-up reported errors when clearing trailing whitespace