Missing notes in merge requests API

Hi,

When fetching notes for a merge request using the API I get a subset of the notes/discussions that are present on the same merge request if I visit the Gitlab UI, it seems that the issue is with discussions as I seem to get one note from each discussion but not all of the notes.

Is this expected behavior or have I found something that can be improved?