MDL-55519 activities: mform element shows correct maxgrade.