Fix deployment stuck when scaling apps

When doing SYNC, Marathon should try to check if the count of current running tasks equals the count of tasks we want to scale to. In the original code, it instead tries to match the count of tasks added this time, which is less than the expected size, so that the current running task size never reaches the expected size.