Fix constant 500 errors, thanks @vevix for figuring out I'm an idiot

I accidentally left dev code in which broke things.  I sowwy :<