Don't beat yourself up over it. At least you recognized there was a problem and caught it before it went through the rest of your animals. Once bacterial/protozoan populations get started in substrate (since you could smell it that's probably what it was) they can multiply really quickly in wet environments like that.