[processing] fixes extract by location alg (fixes #10241)