Fix bug for multi-group ordered revision
Little bug fix to avoid all-blanks