Function filter

Sounds like you need to use the RBE node. It only allows a msg to pass if it has changed.