Fixed multiple saving of index content.