Fixed last known bug
I was comparing strings with ==. How silly.