Fix range syntax (from .. to ...)