Fix empty option type exception

Option value id is nil exception if new option type created