failing unit test for #21
avoid recursive calls in Merged Queue fixes: #21
Merge pull request #22 from path/stackoverflow_in_queue_21

Stackoverflow in queue 21