concrete5/concrete5 — pull request #1337 by mkly (2013-09-02 03:19:15+00:00)
Title: Fix Negative wrap around in page parents

Fix Negative wrap around in page parents

- Change `PageStatistics::incrementParents()` to use application math as
opposed to database math
- Set cChildren to 0 if method would increment to a negative number

Reference to discovery
http://www.concrete5.org/community/forums/customizing_c5/page-count-in-full-sitemap-very-large/