Correct setting of transformation status while cleaning.