Fixing active record relation handling after populationg from search result

```CActiveRecord::getRelated()``` returns current relation data only if model is not new. https://github.com/yiisoft/yii/blob/master/framework/db/ar/CActiveRecord.php#L262