What kind of coconut oil do you have? Different brands smell either sweet or somewhat off.
It keeps for years without going bad.. but if it's gotten wet, the water can grow mold.
A few drops of eo will be perfect antifungals and not too strong, maybe you could check out the diapering forum for some ideas/recipes.
And, I highly recommend probiotics to help heal diarrhea from the inside.