40% is no where near dangerously low humidity . They say 50 to 60 but 40 isn't that bad as long as you can bump it a bit for a shed
As for high tho. If you don't have good ventilation high humidity is dangerous and is more likely to cause ri's. I've always been told if you have condensation in the tank you don't have enough ventilation