Handle missing primary index. Fix MB-13002.