Fixed get_generic to return a list of possible matches