Compare History items case insensitively.