Don't try to remove PRODUCTION from set_state when node in FAILURE for readonly users.