fixed job submission when incohenrent data were stored in the database