fix a missing check in my last patch.
// rdar://13094352