Corrected another bug in replacement methods

.expr should use x's .expr as the original values