You can stop to investigate. I didn't knew that the game only saves the level progess after dying. Thought it would save automatically somewhere between the end of a level/start of the next level.
Nice catch man. I was also wondering why it doesn't unlock access to the discovered level every time.