Fixes a small bug relating to C dimensions.