The distance limit can be configured with the `moremesecons_entity_detector.max_radius` setting.
An additional change prevents a crash if an object returned by `get_objects_inside_radius` is neither a valid player nor a luaentity. We don't know why this happens but it sometimes does.