Fix state pasting not updating the filtered list.