added some scope queries on course dates