The euphinism remnants of sperm include DNA. Up-post, an excellent article pointed out that intact spermatazoa have been recovered up to 36 days and 5-6 weeks post-mortem. The nice thing about intact spermatazoa is that it protects the enclosed DNA like an astronaut in his space capsule. Finding intact spermatazoa is a very significant indicator of finding intact foriencsically usuasable DNA, verses free DNA that would be more susceptible to bacterial degradation making it foriencsically unusable.
This having been said, I would maintain that bacteria, both gut and soil, are equal opportunity digesters, as they eat everything! Some even eat diesel fuel and crude oil, and that stuff is REALLY tough and nasty! It's what they were made to do. And while I have learned the dictum that DNA is somewhat tough stuff, I don't understand your belief that DNA is somehow preserved through or against decomp. Once post-mortum autolysis of the cell and it's organelles, including the nuculus and mitochondria, occurs releasing free DNA; please document for me how DNA is any less prone to bacterial breakdown and degradation than any other sugar, nitrogenious base, and phosphate containing bio-molocule like ATP and others. As that is the only confusion I see here.