Fix bug pointed out by camitz in one of the transformations.