accdb: improve argument handling for 'grep'

If multiple arguments are passed, wrap them in an implicit AND.