Update query to get exercises for report -refs BT#8322
Merge pull request #43 from DeEvo/8322

Fix bug -refs BT#8322