fix #1381, ignore criteria and scope select on stat relation
fix #1381, ignore criteria and scope select on stat relation

select is different in stat relation context and can not be an array as
it specifies the statistical value to select.

So we have to ignore select that might have been defined by
defaultScope, scope or beforeFind criteria modification.

licailing/yii,phoenix3008/yii,GerrGIT/yii,phoenix3008/yii,auburus/yii,Yanan1021/yii,yiichina/yii,janisto/yii,janisto/yii,scriptius/blog,er361/yii-zadanie-somnium,tvs-prarthana/yii,dbalencar/yii,guber007/yii,l3xthanzero/trackstar,guber007/yii,licailing/yii,licailing/yii,intersvyaz/yii,YaDelivery/yii,ImAnilChaudhari/yii,Vartacom/yii,GerrGIT/yii,ImAnilChaudhari/yii,YaDelivery/yii,Corfiot/yii,softark/yii,longhua828/yii,janisto/yii,scriptius/blog,GerrGIT/yii,longhua828/yii,lubosdz/yii,kurorido1990/dev-github,mudrezzz/testphp,mudrezzz/testphp,phoenix3008/yii,licailing/yii,scriptius/blog,kurorido1990/dev-github,yiichina/yii,auburus/yii,Vartacom/yii,lubosdz/yii,bethrezen/yii,guber007/yii,Yanan1021/yii,l3xthanzero/trackstar,tvs-prarthana/yii,makasim/PayumYiiExtensionSandbox,intersvyaz/yii,lubosdz/yii,Yanan1021/yii,jackey/YiiAPI-Framework,ImAnilChaudhari/yii,trewor-kapusta/yii,bethrezen/yii,longhua828/yii,Vartacom/yii,dbalencar/yii,guber007/yii,wbfree/yii-tutorial,tvs-prarthana/yii,yiisoft/yii,bethrezen/yii,lsjing/yii,jackey/YiiAPI-Framework,marcovtwout/yii,lubosdz/yii,mqiu/yiis,tvs-prarthana/yii,Corfiot/yii,makasim/PayumYiiExtensionSandbox,makasim/PayumYiiExtensionSandbox,er361/yii-zadanie-somnium,YaDelivery/yii,marcovtwout/yii,mudrezzz/testphp,er361/yii-zadanie-somnium,wbfree/yii-tutorial,scriptius/blog,Infowatch/yii,er361/yii-zadanie-somnium,sachintaware/yii,ImAnilChaudhari/yii,makasim/PayumYiiExtensionSandbox,dbalencar/yii,l3xthanzero/trackstar,sachintaware/yii,kurorido1990/dev-github,mqiu/yiis,sachintaware/yii,marcovtwout/yii,mudrezzz/testphp,phoenix3008/yii,trewor-kapusta/yii,intersvyaz/yii,softark/yii,sachintaware/yii,lsjing/yii,yiichina/yii,YaDelivery/yii,GerrGIT/yii,Infowatch/yii,mqiu/yiis,lsjing/yii,kurorido1990/dev-github,janisto/yii,auburus/yii,marcovtwout/yii,yiisoft/yii,auburus/yii,lsjing/yii,Vartacom/yii,longhua828/yii