properly redirect searches for XFormInstance-like documents

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