Fix filter bug.