Fixes to the process_switches function. Removed <-> pairing code because it was detecting < and > characters in places that do not pair