Why? There should be a function that gives us the nodeAfter the boundary, or null if it is at the end of the element. If this is used somewhere (I don't know if it is) then that code depends on this behaviour. Have you checked?