Fix LocalMessage equality/hash