Adding safety check for max lookup values being 0 or lower, which would cause the radius to be ignored