fix PR10605 / rdar://9930964 by adding a pretty scary missed check.