Fixes #735: reverting slice not working