Move segments processing
Merge pull request #5330 from lucasmichot/4.2-support-namespaceditemresolver

[4.2] Support : Segments don't need to be processed for namespaces