Added check for available ECTS info before using it