Bugfix: counter could get too high (racecondition)

How the bug worked:
- addChunkHierarchy could return 0 in some rare conditions
- in these cases, tryUsePage did not decrease the counter again