added enforcement of unique storage entries to prevent possible migration db corruption