Fix checking signature after the user may have modified the message.