Improve performance by iterating from the tail when removing notes.