Expose Database object on hub unit of work for raw queries
Fix free stock report for hubs (the one that is displayed on the dashboard)