restrict categories list to items that aren't deleted