Fix issue where messages were accepted at too small length.