gn mapping to research last search pattern if last is empty.