bug fix - branch alterators should not return Nothing if the segment they edit is an empty string'