Fixed bug when a transition is cancelled
Merge pull request #1 from stefz/master

Fixed bug when a transition is cancelled