Fix results and worker expiration with TTL indices