Fixing auto-scaler issue when primary enabled - PAAS-55