Fix to the PrivateKeys example. Thanks to recallfx for the patch.