Fixes issue where goal list is blank if search entry in blank