Steps to reproduce:
- Select the text you want to annotate on a page
- Press CTRL+M and write some text
- Click on "Add annotation"
- Repeat steps 1-3 on the same text selected before
- Click on the small yellow icon
Expected results: Only the newer annotation is visible when clicked on the small yellow icon.
Actual results: The first annotation is shown each time.
Regression as this used to work on XWiki 13.9