Missed a badly needed check