Retain latest value on duplicate state updates