Fixed check on king