Minor fix to preserve "transitiontime" and similar attributes from the optimizer.