Editing a note shared for collaboration with a collapsed heading

What I did:
Editing a collapsed note that I shared for collaboration

What happened:
Not what I expected. See the video.

There is another problem. Unfolding does not work as expected.

What I expected:
The results are the same as for a note that has not been shared. See the video.

Things that might be helpful to know (Agenda version, OS and model, etc):
Agenda an OS in latest stable version

Thanks for reporting this. I will look into it.