Update: Switch

Fix for a problem where the Switch plugin could cause 500 Internal Server Errors in some configurations.