When in the Folder bar it doesn't work but toggles the selected folder expansion on/off, which can also be done anyway with unmodified Enter.
It would be good to remove the override there

I suppose the Folder Bar action may be hard-coded to check for Enter without examining the modifiers at all, so in the immediate term it could just check for absence of modifiers for that folder expansion toggle.
In the longer term I think it's better still to make the expand-toggle customisable, since it's feasible people might want Enter for some other purpose.
In that respect, currently the keyboard shortcuts can be assigned Global, Search Edit, Results List, and I suppose other contexts could be added such as Folder Bar.
Currently you choose a single context for a shortcut assignment although strictly you might want more than one, which can be achieved by adding multiple shortcuts although I would think that as more contexts are added as options this could become unwieldy since you'd at times want "all but" certain contexts, so that those other certain contexts could be assigned some special action.
d