Fix bug in inventory aggregate report
Merge pull request #3322 from dimagi/inventory-bug

Fix bug in inventory aggregate report