fixed session time range check