[JobQueue] Use SELECT for deduplication rather than more expensive DELETEs.