Validate minimum and maximum of credits per semester.