be sure to constrain the select to the course_id that is being delete

wip
Merge pull request #5306 from edx/cdodge/fix-delete-item-with-coupon

be sure to constrain the select to the course_id that is being delete