Fix syntax, properly initialize _db in IndexDetails