added check on db result table for the copyjob method