Fixed an issue when checking the content type of a SystemMessage, fixes #135