[cee90e4e88] Correct error in stack depth checking.