balooctl add includeFolders/excludeFolders was checking for parent directories before allowing the user to add a subdirectory. This is unnecessary since Baloo itself supports the logic of (for example) excluding ~/foo but including ~/foo/bar. Removing the check solves the problem and fixes 396535.
BUG: 396535
FIXED-IN: 5.51