Make duplicate errors case-insensitive