Hi,
Oddly I could reproduce similar behaviour. It turned out that if, in my source data, the field is blank instead of showing null, I can replace as expected. I tried several other options, but it would seem that null as such is not the same as null in the query editor.
Paul