fix: filter by Department in TAtable misfunction