[FIX] Check canAnySign instead of canSign to find secret keys.