Fixed table filtering in DepartmentTest.