Fix #30 — Fix the switch_status endpoint.