Fix deletion of jobs

Deletion requires that is_indexed is true otherwise it waits for indexing to start