Make `to_xpath` stringize a non-string operand as the standard filters do.