Fix: COMPACT_QUEUE should be a unique key.

This fixes #230.  Thanks, @sylvinus.