Thank you for taking the time to report this!
Thanks @sunny and @hopscotch for bumping this
I have been able to reproduce this on my end, and can confirm it is a bug.
It seems to occur when a block doesn’t have any associated classes, but works fine if classes were added before.