Fix null fields not being cleared when updating metadata before edit book.