RAZ-1695: Behaviour in search for shared folders