Fix length validation when sending a contact message.

+ Ups!, I should have run the tests when
  fixing a bug here: 635ef8298dfaf040655b370545cb683a5ce20275.