Adjust geosubmit code to deal with issue #276 as well.