Fix one switch's to and from attributes

One particular switch branch had a "from" that should have been a switch object, but it was the switch root's object instead