Intrahealth fixes

In the PR fixes for cases:
http://manage.dimagi.com/default.asp?125601#708608
http://manage.dimagi.com/default.asp?124261#708886
i still am not quite sure how this does that, but if you are confident then i think that's fine.

would you mind just adding a comment to the code saying "make headers and subheaders consistent"  or similar?