I disagree: the goal of that condition is to get inside the  [ lower_angle_ , upper_angle_ ] interval.If input_scan.angle_increment < 0 , then this just sets us right outside and below the interval.
I believe the right condition should be: if((start_angle < lower_angle_) || (start_angle > upper_angle_))