Fixes #5357: ElggBatch skips over incomplete entities

This algorithm should be able to handle fetches with any number of incomplete entities, including those with all incompletes. The test makes three fetches, the 1st has one incomplete, the 2nd has both incompletes.