> Okay, I think I see what you mean now. You stay in search context by breadcrumb but actually you view the images of the album ("album1") the image you clicked on is in and not the image results itself. Weird…
No!

It's not like that.
Go at two times A/B into the search result page for "nebel | album1". (without quotation marks).
A.) when you click the /album1/Cosmos01.jpg.html, the gallery switch to the image page in her original static album. Because the album of the image is listed in the search result.
B.) when you click the /album2/Cosmos05.jpg.html, the gallery switch to the image page in the temporary search result album. Because the album of the image is not listed in the search result.
If albums in the settings are excluded from the search, then this error, leaving, does not occur because no albums can be listed for any images. But that is not a solution.