ApplySampleAsFilter also fixed