Fix stupid Rep transformation using OptRep instead of Seq(...)