Sligh bug in HPRN due to PriorityQueue bug

PriorityQueue not sorting correctly in a very particular case.  This is
leading to incorrect output, but getting close.