Regression introduced by RN-27 at https://github.com/xwiki-contrib/application-releasenotes/commit/40d93f697c0a843965667f2c5d4b1a53f3978bc6#diff-2bdf0044fdb202a8864e47b5dedf315cR43