Get default "stop after" if it isn't set yet. fix #3499