Fix bug inverting setShortening semantics