Fixed bug for when grid is initially grouped.

ng-input now selects the input element