Fix problems with delayed__job