Fixed null pointer exception in new findPastureLocs()