workaround for strange importer 500

http://manage.dimagi.com/default.asp?136800
Merge pull request #4372 from dimagi/case-136800

workaround for strange importer 500