priority-queue-item equals fix