Bugfix Spatial Index creation