It would be nice to have an universal identifyer for any merchant, scribe, smith etc. for having the query command not reply constantly 'there is no-one named like that here to serve you' or so...
Even better it would be making query a general command with no need of a target npc: