Fix problem with missing revision