PetSchool: Fixed nil access