Changed the direct cast of degree to a degreeManager.find