updated to take into account trailiing rows beyond the last disclosure control