If we didn't find a revision, set it to "-1" not just "None"