Fixed an issue where the payload wasn't being correctly compared