hooks: fix one shot args in query

Signed-off-by: bleader <bleader@ratonland.org>