Fixing bug in quota_report