Changed the getcertissued function