The departments display based on whether they have Active or Inactive courses within them.