Added check that cycle time average is not updated if state didn't change.