[Bugfix beta] ensure pushUnique targetQueue is cleared by flush
Merge pull request #5490 from stefanpenner/fix-bb

[Bugfix beta] ensure pushUnique targetQueue is cleared by flush