fixed bug in cache
Merge branch 'kondra' of https://github.com/shapovalov/pystruct into kondra