Make filter work after dist build.