Fixed transition logic bug when using FSMIntegerField