                            (save-excursion
                              (save-restriction
                                (switch-to-buffer (marker-buffer marker))
+                               (widen)
                                (goto-char (marker-position marker))
                                (org-show-context)
                                (re-search-backward "^\\*+ " nil t)

                               (category (car selection))
                               (marker (cdr selection)))
                           (switch-to-buffer (marker-buffer marker))
                           (goto-char (marker-position marker))
                           (org-show-context)
                           (re-search-backward "^\\*+ " nil t)

                               (marker (cdr item)))

                           (switch-to-buffer (marker-buffer marker))
                           (widen)
                           (goto-char (marker-position marker))
                           (org-show-context)
                           (re-search-backward "^\\*+ " nil t)
