Implemented methods that check to make sure the parent department
doesn't become the same as the actual department. If that were to
happen, a stackoverflow exception would be throw.