This MR adds the index refs check to the derivation TCTs in master. This check was added recently by !50163 (merged).