diff --git a/lib/connectors/memory.js b/lib/connectors/memory.js index 4d98e05e..7c80930c 100644 --- a/lib/connectors/memory.js +++ b/lib/connectors/memory.js @@ -436,7 +436,7 @@ function applyFilter(filter) { return undefined; } - if (typeof example === 'object') { + if (typeof example === 'object' && example !== null) { // ignore geo near filter if (example.near) { return true;