Level Ender Glitch

I don't even know how it happened to me:
I went through Tanked Up Trouble, then when I exit the level (not the Start+Select cheat), instead of taking me to the map, it took me to one of the Manic Mincer's bonus rooms (filled with vertical Mincers, with cave music)! When I exit or get hit by the Mincers, it took me to Jungle Hijinxs! Then whenever I do the Start+Select to get out, the game thinks I'm still in Tanked Up Trouble! But, when I play through the level, it says I'm in Jungle Hijinxs!
So, what happened? Was it a glitch, or was it something about my PAR codes?
I went through Tanked Up Trouble, then when I exit the level (not the Start+Select cheat), instead of taking me to the map, it took me to one of the Manic Mincer's bonus rooms (filled with vertical Mincers, with cave music)! When I exit or get hit by the Mincers, it took me to Jungle Hijinxs! Then whenever I do the Start+Select to get out, the game thinks I'm still in Tanked Up Trouble! But, when I play through the level, it says I'm in Jungle Hijinxs!
So, what happened? Was it a glitch, or was it something about my PAR codes?