Fix wheat modifier potentially crashing