Don't add undefined stats to body
Merge pull request #22 from cloudant/17771-undefined-stats

Don't add undefined stats to body