fixing revisions bug, for cases where all revisions trashed and one is untrashed