Changing private shared table to public deletes vis using the table

See point 2 of https://github.com/CartoDB/cartodb/issues/1384