Updated revision detection.