Update selectionProvider.js

Usage of $.grep was incorrect and causing loss of selection and expanded state on data update
Merge pull request #12 from InteractiveIntelligence/inin-v2.0.7-nestedrows4

Usage of $.grep was incorrect and causing loss of selection and expanded state on data update