Fix synchronization of users per course to mailchimp

The ORM query to get the users in a course was incorrect.