Adding condition to Jobs Collection - ttl index
Context: https://github.com/huggingface/datasets-server/issues/1323
Some records in the queue have `finished_at` field but their final status is different than success/error, we should not have these scenarios.
Adding a condition to the TTL index will let us identify potential issues without losing data for troubleshooting.

Second part of https://github.com/huggingface/datasets-server/issues/1326
Depends on https://github.com/huggingface/datasets-server/pull/1378
Adding condition to Jobs Collection - ttl index: Context: https://github.com/huggingface/datasets-server/issues/1323
Some records in the queue have `finished_at` field but their final status is different than success/error, we should not have these scenarios.
Adding a condition to the TTL index will let us identify potential issues without losing data for troubleshooting.

Second part of https://github.com/huggingface/datasets-server/issues/1326
Depends on https://github.com/huggingface/datasets-server/pull/1378