Fix bug of tags not saving in form