filtering on courseid and then module key