Added query for non lead employee in both a department and a team.