Fixed delayed job execution bugs