Minor fix to python table caching API.