Incorrect type comparison for the MessageId, clean up the error text as well.
Merge pull request #58 from siegenth/master

Incorrect type comparison for the MessageId