Fix incorrect revision license validation when editing revision.