Change how null-replacing-filter works to avoid an NPE.