Inmate's jail sentence extended for assault on guard