Automatically remove error measurements