LM: First go to (static guess of) closest corner
LM: fix search, rename filter to filterNot

filter was named according to the Ruby convention, so it negates the
predicate and does a Haskell/Scala filter. Rename it to filterNot.

I and Eric missed this when we copy-pasted and altered filter to
implement search, that's why it didn't work (I didn't test it though).
Fix search to not negate its predicate.