Indexes should be used only on a table - Fix #104