Fix for the calculation of the end of child LCP intervals. Fixes
integration test, needs an extra unit test.