fix leaking variable
Merge branch 'sql-dailyformstats' of github.com:dimagi/commcare-hq into sql-dailyformstats