Removed unecessary code when creating new options in a smart select.