Fixed unhandled exception in Find command

Find name | tag | note without a search term would produce errors

```
AttributeError: 'NoneType' object has no attribute
(OperationalError) no such column:
```