"replace" function sometimes doesn't work?

“replace” seems to work for small document with few rems

For a bigger document with long nested rems sometimes (most of the time I use it actually), it does nothing.

Desktop App 1.5.2, windows 10

Replace function inherits Filter Function so it works with Large Document.
The problem is in the Filter function. I think it can’t filter all the results, so it can just replace what it finds.

Filter with

Filter withh