fix indents for child elements when using -1 (#2119)