maxElements configuration was enforced across all objects in document