make bad location references a little more fault tolerant (Case:63629)
Merge pull request #481 from dimagi/cz

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