Fix misleading documentation about Children.max

Currently, the documentation implies that doing a `Children.max(LastEdited)` will work, which isn't the case.
This change uses `AllChildren.max(LastEdited)` instead, which while slightly more inefficient, will actually work consistently.
Merge pull request #2279 from ss23/patch-7

Fix misleading documentation about Children.max in partial caching