attempt to fix case where queue position counters overflow.