Ensure that pending is initialized properly in both spots