Fix empty message validation