Convicted sex offender sentenced to 22-years in prison after being given a stay in previous conviction