Minor refactoring

Fixed a bug where the cache was modified on a ``Table.get``, and removed extraneous conditionals.