Fix get-index-relation not inserting results.