Correct table_cache_var bug

Fixes #49 by correcting a small error from #48. Sorry, folks!