issue 2428 (spatial index problem) fixed