Debugging download queries