Add fix to resque tasks