ApiComparePages: Don't try to find next/prev of a deleted revision