Fix AdaptiveFilter defects