You're lucky..... I've had Rayovacs leak in stuff and even sitting in the package not even close to expiration dates.I've been playing with flashlights and other battery operated items since the 1960's. My first Johnny Lightning race track with a battery operated launcher got ruined by leaking C cells in about 1967 or so. I stopped counting the number of items lost to leaking alkalines decades ago. So I skoffed at a claim that modern Rayovacs don't leak. I bought some, tried them in a variety of items in adverse conditions and after a few months tossed any other brands I had laying around and installed Rayovacs.
To date none have leaked.
Meanwhile back to the 4D Maglite.....
There is no brand that hasn't leaked on me other than some no name batteries that come with stuff.