Yes, I originally complained about crash due to experiencing the bug on old Kamailio without the fix that added the if() guards. However, that fix introduced this side-effect. While it's not critical and probably not affecting many, it's still user visible issue that gets fixed.