Fixing farmer out of bounds bug.