Fixing if statements to run with upper and lowercase letters