Yet another dynamic problem

Ok, I “enhanced” the old test case with an example of the problem where the overlay is not found.
I’ll send it in an extra message.