don't try to divide by zero
Merge pull request #1173 from dimagi/wa-fix

don't try to divide by zero