Fix delete filter bug