made history search case insensitive