Make sure PriorityInheritance also works in switch mode.