While all callers currently operate on the selection, the function supports other header-flags, so check the selection is being used before updating & flushing the selection.
While all callers currently operate on the selection, the function supports other header-flags, so check the selection is being used before updating & flushing the selection.