Updated validator to compare sentence offsets with section offsets.