Updates sql to remove duplicates avoiding auto-deletion 

Fixes https://github.com/CartoDB/data-services/issues/31