Made realtime filter actually work