#22506 - fixed bugs in find_files and selectin the current entity when
changing the work area