Fixed some issues with SqlJobQueue.