Fixes the 'family' search key

Fixed the search_prefix API function to make the 'family' search key
work.