fix opportunity.oppostatuses.first.issue bug: query interface can used in views, controllers and models