Fix setState, we can't filter before adding slices