Select the first ocurrence of a search.

This closes #45.