magit-section-goto-successsor-1: bugfix

Fixes #1477.