The tomysql() string operations seem to not be getting any equalitystr/logicstr. Maybe the tree is being broken?