Fix an issue on hello message validation.