Fixed segfault with empty break
Improve fix for #66608