hif: Make the HyQuery refcounting easier to understand