A second fix to the processing of shared options