Added reveal on type functionality to search