Corrects small code errors that would prevent updating a draft through the API