This might require some digging, but I’ll see if I can find what caused it. Thanks for the bug report.
Unfortunately I wasn't able to figure out what caused the error, but your save did have one uncollected secret item left in the fire stage. You need to reveal hidden blocks with Sonar Wave to get to it.
PS. I thought I fixed that typo already, but must have forgotten about it.
Wow. I like the weird circumstances leading to me reporting this error. I geniunely thought the original secret item wasn't shown as collected on the map as part of the error, only to learn everything was fine (sorta). A suggestion of mine to make this less likely to happen is by making it clearer there are two secrets hidden (or showing which secrets were collected when selecting the stage, making it harder to guess how many there are before hunting for them). Or the hardcore way of not showing anything about secrets.
Anyway, thank you for looking into this and the tip, and sorry for wasting your time.