Better handling of null returns in get_list