Fixed the Fatal error (exception) when trying to retry a failed message using id.