One line fix to calc_sele and an attempt to get spatial index to work from scratch without rebuilding.