IMO, considering the impact on his children and that it was a first offence, he should not have had a custodial sentence in the first place but a stiff community sentence.
Actually I think this would have been a better choice even disregarding the children, as they are more effective at reducing recidivism than short prison sentences during which no effective rehabilitation is possible.