Correctly clear the advanced select when the model value is set to undefined or null (or empty array for multiple)