Fix pending version snapshot calculation