fix bug reported by Filip Kłosowski : junctions not turning off after changes in config.xml