Fixed error detection glitch that prevented removing errors