Oops, ci_get_current_states make bad assumptions about state names.

Specifically, having a / in a state name is a perfectly cromulent
thing, but our logic for finding the current states did not take that
into account.