private void loadEntireSingleMatchedGroup(@NotNull RunAnythingSearchListModel model, @NotNull List<RunAnythingItem> items) {
    RunAnythingGroup currentTitleGroup;
    RunAnythingGroup titleGroup = null;
    RunAnythingGroup moreGroup = null;
    int index = 0;

    for (int i = 0; i < items.size(); i++) {
      // check for single group (and optionally recent group) in the result list
      currentTitleGroup = model.findGroupByTitleIndex(i);
      if (currentTitleGroup instanceof RunAnythingRecentGroup) {
        continue;
      }

      if (currentTitleGroup != null) {
        if (titleGroup == null) {
          titleGroup = currentTitleGroup;
        }
        else {
          return;
        }
      }

      moreGroup = model.findGroupByMoreIndex(i);
      if (moreGroup == null) {
        continue;
      }

      if (moreGroup instanceof RunAnythingRecentGroup) {
        moreGroup = null;
        continue;
      }

      index = i;
    }

    if (moreGroup != null) {
      RunAnythingPopupUI.insert(moreGroup, model, myDataContext, myPattern, index, 100);
    }
  }
private void loadEntireSingleMatchedGroup(@NotNull RunAnythingSearchListModel model, @NotNull List<RunAnythingItem> items)