refs #696, fix issue and add test
Merge branch 'bugfixes/tokumx-1.3' into releases/tokumx-1.3