Fix omitted event with unknown state at startup