Function is now asynchronous, even when there are no matches.
Merge pull request #2 from Pimm/master

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