fixed dropped entries bug in PriorityQueue