Set more sensible limits on config values