Fix of engine running/trailer attached flags.