fix incorrect switchtag comparision for version 5 configuration files