Fix so it plays nicely with other add-ons that modify the query result, such as Publisher. D'oh!