Fix tab filter bug