Did you get the Mochi's revenge ending?
I also had the very bad ending before it worked, but I think mochi's revenge was the one to trigger it
I read your question in the Stanley's Parable Narrator voice, because he says "Did you get the broom closet ending? The broom closet ending is my favorite." I'm paraphrasing a bit, don't remember the exact words.