ApiQueryAllDeletedRevisions: More namespace handling fixes