protect against zero-alias situations causing PriorityQueue from throwing a java.lang.IllegalArgumentException