Make sure PriorityInheritance also works in switch mode.

Conflicts:
	src/route.c