Function is now asynchronous, even when there are no matches.