Remove attributes instead of setting a false value like [].
Merge pull request #1 from SUNET/unique_index_fix

Remove attributes instead of setting a false value like [].