Fix stale shares being detected as invalid PoW