Type filter bug fix.