Welcome to Prismic community forum,
Thank you for reporting this to us, I’ve tested that and I could reproduce the issue, so I have created a bug in our issue tracker and we will keep you updated.
Just an update on the situation. The team worked on a fix and it’s in the queue to be reviewed and tested. As soon as this moves to the next stage we’ll update you here.
This issue have been fixed along with some other fixes, please send me a direct message with your repository name if you need to have an early release of the fix.