Partial fix for #244.  Added an object reset to the GetDeptByID method if the lookup fails.