chapter: Fix invalid data_reference_index value.

This regression is introduced at 5d1f923 .