Classname search model wrong. Gii.

When I generate crud:
**model - ```app\models\Work```**
**Search Model - ```app\models\search\Work```**
I get critical error in SearchModel file -**"Class with same name alredy defines in this file"**
PR add validate the situation.