Oops, I guess I didn't look for duplicates in the if statements before I converted them to a switch. Should be fixed now.