I believe it is a synchronization timing issue. I have worked around it.
When I create a note, I name it. I then manually activate the synchronization button at the top (rotating arrows button). That tells the cloud that you have created the note.
Then I rename the attachment and synchronize again to check.
That has fixed the issue for me.