Fix jumping to next DNA state during states transition

[#51190373]