When in zoom to display a single image, ensure that the selection is updated.

Not doing that we will keep the last selected image into the selected_images
table and the remove/delete operations will not operate on the currently
displayed image.

For #9431.
Merge pull request #402 from darktable-org/fix-sel-operation-zoom

We in zoom to display a single image, ensure that the selection is updat...