concrete5/concrete5 — pull request #1338 by mkly (2013-09-02 04:11:02+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
http://www.concrete5.org/community/forums/customizing_c5/page-count-in-full-sitemap-very-large/