elasticsearch/kibana — pull request #2028 by spenceralger (2014-11-24 17:51:00+00:00)
Title: [discover] Cannot read property 'query' of undefined

While adding a filter discover tries to find an existing filter that matches. That code was trying to read a property on an object that is wasn't checking exists first.

Fixes #2022