Fix action handler problem

If two actions were done in same time, the startegy_handle_state removed
the wrong index.

Now this is fixed.