Fix automata direction resetting

MAGIC-5 #done #comment Going to call this done for now
Release as 3.2