You forgot to check if isOK is true, like in line 870.