Fix billing report

Fixes http://manage.dimagi.com/default.asp?95965#548564