Grid search method must only itenerate thru indexes

Hi all,

This is my first pull request, I dont know if I should also send the compiled files, anyway, for the search of the grid, we was iterating thru all object methods, I've just changed to iterate thru the index of the object length, for example in "Ember.js" the old code would give problems because in ember.js a Array has no property methods.

Best Regards,

Marius Edelsbrunner