Closing the active database result selected the rightmost remaining result, jumping away from where the user was. It now selects the left neighbour, then the right one, and Output when none remain. Closing an inactive or missing result keeps the current selection.
Co-authored-by: Mr0Bread <55754540+Mr0Bread@users.noreply.github.com>