Correct 'error' checking.