[TECHNICAL-SUPPORT] LPS-35571 Can't change scope in Documents selector if inside folder

Hey Marcellus,

@moltam89 sent me this pull and I'm sending this to you because it's related to DDM and you're more experienced than me in this component.

It's a bug that happens when a user is in a folder (Folder 1) and then the user performs a search in a different scope (i.e: global). In that case, the folder remains the same (Folder 1) and then, the results are not displayed.

The reason why the folder remains the same (even though the groupId is different is because we are retrieving the folder like this:

```java
Folder folder = (Folder)request.getAttribute(WebKeys.DOCUMENT_LIBRARY_FOLDER);
```

Thanks!