Fix the addition of the "next" tag