fix for intrahealth empty locations

http://manage.dimagi.com/default.asp?148599
Merge pull request #4912 from dimagi/ipm-fix

fix for intrahealth empty locations