misc: unused import was removed
fix: now we are checking indexes for recovered keys in available groups