Added guard against big session times