Fixing an error with an empty .msgsent

Fixes #2 with the commit 13257a36c2fdd6b909137a7728fb6c6cbd9d1dd8