Max safe days set to zero bug

There has been lots of discussion on this sort of thing in some other topics.