Fix upgrade step 3002 to also index metadata.