rank_filter.hxx: Attempt to fix missing end sometimes