Fix index for flattened title resource