Fixed bug blocking departments from associating to people in some cases