Fix sql-sanitize for sites that use a database prefix.