fixed error where we failed to ignore an already existing index on sync_table