docs issue #4902: Flapping logic doesn't store all state changes