Fixed in https://github.com/ezsystems/ezpublish-kernel/commit/32313171f0fc46d687e619ce37ebfca77905b601.