Fix animation history stepping back and firing a new transition, fixes #38

* We were removing transitions from the firingSequence, however due to
  the transitions being stored multiple times in the sequence it
  removes all ocurances of the transition taht appears not just the
  cases after the current index!