A sex offender awaiting sentence in Durham for making indecent images of children is already serving a jail term imposed in Scotland for “contact” offences with a child, it has emerged.