Using geometry instead of collection for spatial filter (still, it throws a Null Pointer)