fix unambiguous user search returning null

Closes #7