Fix shares being reported as invalid on miner