Better fix for farmer out of bounds bug.