Find the last text block of allChildren instead of just checking the last child