Fix errors in unique

Fixes #96 on my setup...