boolean convertedAwayFromMinMax = false;
if (null == idQueryElement) { // nice and easy, add _id range
splitQueryQuery.put(DocumentPojo._id_, idRange);
convertedAwayFromMinMax = true;
}//TESTED
else if (! splitQueryQuery.containsField(DbManager.and_)) { // OK we're going to just going to make life easy
splitQueryQuery.remove(DocumentPojo._id_);
splitQueryQuery.put(DbManager.and_, Arrays.asList(
new BasicDBObject(DocumentPojo._id_, idQueryElement),
new BasicDBObject(DocumentPojo._id_, idRange)));
convertedAwayFromMinMax = true;