Corrected SQ01 error checking