Reformulation using “if : They caught malaria because they didn’t sleep under bed nets.
If they had slept under bed nets, they wouldn’t have caught malaria.(type 2)