Added check for duplicate JobTarget and few more checksSigned-off-by: Alberto Codutti <alberto.codutti@eurotech.com>