Ben/timerange validation