Fix range constraint parser