Fixed bug that caused the select does not actualize when the model was changed