(bug fix)- search in topics cursor postion and tells if the departments course list is empty