Fixed filter bug