Fixed prev_constant + some comments

prev_string was wrong and not useful
Use is_least_constant instead