Fixed query for retrieving list of sprints

Please see GHS-9747 and GHS-9321
Merge pull request #19 from vbmacher/master

Fixed query for retrieving list of sprints