Handle replacing inside the bullet list properly.