Copy $self->query to force derefencing