Fix commtrack report crashes
Put import at top like a good person
Merge pull request #2230 from dimagi/reporting-fixes

Fix commtrack report crashes