Corrected the handling of the case of no transformation.