A mushroom farm was fined after an employee was injured whilst making an adjustment to an unguarded machine.