Fix PriorityQueue items ordering when timestamp is not enough