Fix clearCache when using a db_table class