make bad location references a little more fault tolerant (Case:63629)