-werners-
Esteemed Contributor III

my only guess is that either the replaceWhere cannot take expressions, or the expression is faulty.