Fix for mining reversion.