fixes DocumentQuery import error