Fix bad logic in pq enqueue.