Fixed issue with searching.