Get getQueryReference works again