QL tweak to reduce the number of datafile queries when snapshotting a queue