Fix of the SharedWriter to write out only the selected auxstore variables(ADCDPA-50) See merge request !3821 Former-commit-id: 7410f94a