Added type filter to searching.