.. following on from previous comment in previous pull request..

Isn't starts-with(State, 'running') sufficient on it's own?