fix #1126 MultiAutoComplete: Datamodel issue when entering rangevalues twice

This pull request fixes the datamodel issue for MAC widget when freeText is true and entering rangevalues twice.
Why is this change needed?