Fixes Emailed Custom Reports

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