Core - Fixed: INDEX query wasn't marking tables