vegTransformer: fixed condition check from and else to elif