Updated the king check verification.