Fix state -> flags from the SUSPENDED change to be a flag.