Why two separate loops? It's clearer just to check `clear_emergency_bindings` each time.