[BUGFIX] Improve computation of public path
[BUGFIX] Preventing the case when filter category has empty value