Add missing variable name to switch example in README