Added a safety check when switching local ids for surface ids on document.section_loci_pages_only
Added a safety check when switching local ids for surface ids on document.section_loci_pages_only

umd-mith/unbind,umd-mith/unbind