Are you sure you're using an ODK tool? Please let us know the tool and the version.
Both ODK Collect and the Enketo web form engine clear non-relevant values on submission. Enketo does use the values during form filling which is a discrepancy we're working to address: Feedback needed: Enketo relevance change to align with ODK Collect