Fixed bug with scale task and default instance count.