BUG: Remove caching check. Fix pandas indexing.