Fix bug in pre-save transform caught by tester