Fix switch passthrough exception.