fix: if a state older than the currentState is put into handleState, a B-A-B sequence of state changes can happen (SOFIE-3889)#378
Merged
currentState is put into handleState, a B-A-B sequence of state changes can happen (SOFIE-3889)#378