fixes #772 Check the correct condition on indexer destruction. Also
remove a DEV block that serialized indexers in debug builds and made
this bug much harder to find outside of optimized builds.
Merge branch 'bugfixes/tokumx-1.3' into releases/tokumx-1.3
tokumx-1.3.2
tokumx-1.3.3-pre-