Added check for dupe message.  Closes #39.