Clear indices list before reload

This PR provides a fix for the issue that the index list is not cleared when mappings are loaded from a different host.