Filter out some duplicate state-changed events