Improve support for ltrim negative start indices