Add ability to limit results for local lookup. Closes #115.