[BUGFIX] Remove duplicate database indices