Add missing gathering/page markers.