Fixed a switch-o type-o
Merge pull request #937 from lossyrob/spatial-index-fix

Fixed a switch-o type-o