Add bounds checking to get chapter descriptions.

Native method will crash if out of bounds, so protect it.