Integrity test of Summa index queries and trivial fixes to scripts and configuration.