TypeError: Cannot read property 'length' of undefined FIX

To avoid TypeError: Cannot read property 'length' of undefined

[filter_criteria] is now optional

For live searching only with the search box.