Fix bug in DeploymentState.get_or_create

1 job for deployment-mode in 1 minute and 24 seconds (queued for 1 second)