MAWP for internal pressure in AP Vessel

When I run the calculation, it seems to be using the diameter of the tank to calculate the MAWP, not the radius for the heads. The shell is using the radius and giving me the correct response. Any suggestions on how to correct the issue?