Fix chapter API.

Can now display subevents by chapter.