sigma-clipping: make database have only unique values

Since we use set difference, we were losing a value and it threw me off...