@miconda because I think it's a better way for now, py2 has the int types for boolean, py3 is not, this is a cause of. I have the same fix for some months in production. I did many changes in current code but it's dirty and under NDA (for one customer). As soon I will have free time - I will clean the code and push big commit to resolve current problems, python3-compability and other bugfixes.