A `filter` closure should return a boolean; here you could just return `return e.path === url;`