Bristol City boss Derek McInnes was thrilled after a shock 3-1 victory at high-flying Middlesbrough propelled them out of the relegation zone.