Fixed cross-domain querying so it'll work with trusted domains not
directly in the forest.