Remove section_rel_empty. Just compare begin() and end() instead.