Fixed subcredential bug for public Nyms.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>