When I type something in the input field, I get the following error: Cannot read property \'filter\' of undefined. When I console.log it, right after the error, I can see that d