Add flattenMap to call signalForSearchWithText: