Fix parsing of time range constraint