Fix typo when checking for message type