Actually, the fact that the Earth has thickness is irrelevant. Force of gravity does not depend on distance from the plane.
We can see this because gravitational field lines emerge parrallel from an infinite plane. This means force of gravity is uniform with distance.
Basically, the "<" signs should be replaced with "=" signs.