Added a fix that would crash the script when trying to search for a department that doesn't exist at a certain campus.