Fix bug #13: illegal division by 0

This bug comes from btree_bloat service. See
https://github.com/OPMDG/check_pgactivity/issues/13 for more
information.