gracefully handle bad/deleted locations in report filters

http://manage.dimagi.com/default.asp?111331