Finish hash extraction, add IP set check for database cloning
Added missing code from master to handle text index exception