LPS-39079 DL - Allow empty folderIds in queries