[0.1.6] fix unique key ordering bug

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>