Improved the speed of title search.