Fix query set intervals() method to handle overlaps correctly
Merge pull request #1 from sot/interval-overlaps

Fix query set intervals() method to handle overlaps correctly