Fix filter clamp bug