event->node, event->rdataset and event->sigrdataset in query.c. [RT #46891] (cherry picked from commit cad79077)