Margin at expiry

just checked how much margin required for futures at expiry day , taking reliance given screenshots below ,
(1) first typed for jun contract and then july , here the calculator results ,

in the above picture looks right , as for july 1,22,365 and 2,20,072 for jun , jun contact at expiry looks double times than july ok ,

but why total margin showing here 441178 ?

(2) here typed july contract first and then jun second , here the calculator results ,

here also jun contract at expiry margin looks twice ok,

why here getting margin benefit ?! ,