Index saving works properly