Logbook - filter list of Entities

The logbook header includes a list of entities, allowing to filter the logs.

The list contains ALL entities (including the entities and domains excluded from logbook). This is not correct behaviour, and not very practical.

I think it shall contain either the relevant entities actually appearing in the displayed log.
Or entities configured to show in the logbook (following the include/exclude logic in configuration.yaml).

I suggest the first option for two reasons: a) it will be shorter and therefore more user friendly (especially from mobile phones). b) it will represent a list of all entities that actually logged something - useful to know.