Forgot to add 'if' to check if :switches is even set.