          return ["All Frames", "Has Face(s)", "No Faces", "Multiple Faces"]
  
      def _add_nav(self):
          """ Add the slider to navigate through frames """
          self._globals.tk_transport_index.trace("w", self._set_frame_index)
          max_frame = self._globals.frame_count - 1
  
          frame = ttk.Frame(self._transport_frame)
  
          frame.pack(side=tk.TOP, fill=tk.X, pady=(0, 5))
 
</s> remove         return ["All Frames", "Has Face(s)", "No Faces", "Multiple Faces"]
 </s> add         return ["All Frames", "Has Face(s)", "No Faces", "Multiple Faces", "Misaligned Faces"] </s> remove         """ Add the navigation mode combo box to the transport frame """
 </s> add         """ Add the navigation mode combo box to the filter frame.

        Parameters
        ----------
        frame: :class:`tkinter.ttk.Frame`
            The Filter Frame that holds the filter combo box
        """ </s> remove         if self._globals.filter_mode != "No Faces":
            for frame_idx, face_count in enumerate(self._detected_faces.face_count_per_index):
                if face_count <= 1 and self._globals.filter_mode == "Multiple Faces":
                    continue
                for face_idx in range(face_count):
                    frame_indices.append(frame_idx)
                    face_indices.append(face_idx)
        logger.trace("frame_indices: %s, face_indices: %s", frame_indices, face_indices)
 </s> add         face_counts = self._detected_faces.face_count_per_index  # Copy to avoid recalculations

        for frame_idx in self.frames_list:
            for face_idx in range(face_counts[frame_idx]):
                frame_indices.append(frame_idx)
                face_indices.append(face_idx)
 </s> remove         """ Adjust transport slider scale for different filters.
 </s> add         """ Adjust transport slider scale for different filters. Hide or display optional filter
        controls.
          return ["All Frames", "Has Face(s)", "No Faces", "Multiple Faces"]
  
      def _add_nav(self):
          """ Add the slider to navigate through frames """

          max_frame = self._globals.frame_count - 1
  
          frame = ttk.Frame(self._transport_frame)
  
          frame.pack(side=tk.TOP, fill=tk.X, pady=(0, 5))
keep keep keep keep replace keep keep keep keep keep
 Add Misalignment Detection
  - lib.align.AlignedFace - Add average_distance property (distance from mean_face)
  - tools.manual - Add misaligned Faces filter
  - tools.sort - Add sort by distance (misaligned sort)Add "Misaligned Faces" filter to manual tool 
tools/manual/frameviewer/frame.py