Caused by a regression introduced in XWiki 7.1.3, fixed in more recent versions but not in the 7.1.x branch.