Fixed duplicate check error message. Relates to #106.