Fixed in https://github.com/ezsystems/ezpublish-kernel/commit/46a1bf9d3d1785b7618c4cf83a9b1d5cf90b5987