Fix minor typo in state logging