ENH: Check for two objectIds. Consistent with new PDF Segmenter algorithm.

Change-Id: I958b93b29d1aa66b080c57bd0c64e73e4ce8abbf
Merge topic 'check-for-foreground-and-background-label'

a3e92f7 ENH: Check for two objectIds. Consistent with new PDF Segmenter algorithm.