Add replicator filterfunction