Fixed a bug in version 3.0 that allowed skipping private keys.
This version with the -i option still has unknown issues during testing.