Do not crash on empty chapter metabook

Check to see if there are subitems before iterating.

Change-Id: I4d76cd8b4c704343193a1b2ce90393bf0d6c8ba7