Fixed a bug with if/else that occured when I commented out a piece of code