Added extra condition in the Miner.cs Update