Correctly handle invalidation in GetAndFetchObject