So you need a way for the app to identify a false positive and switch models in that case? If it contains >x% sugar, switch to the sugar model which ignores the amount of salt?

If false positives are possible, there clearly needs to be a way to handle this, although it sounds like there might not be a good answer aside from simply telling the user about it.