Revert "Proposed fix für issue XWIKI-10606"

This reverts commit b444ff25c8f8c7ff91d2d181bb7f28e9d55df7cb.