Check so that pprev is actually set before setting the new pindex
Check so that pprev is actually set before setting the new pindex

neutroncoin/neutron,neutroncoin/neutron,neutroncoin/neutron,neutroncoin/neutron