Bug fix: indexFromSetName on invisible sets (#771)