re-instate old fix for NPE in LocalIndexesFragment