fixed parser so that it would only enrollstudents if they weren't already enrolled in the course