Fixed in https://github.com/ezsystems/ezpublish-kernel/commit/7fe04bc43efff2e3b3e0b6b8c9c60f7269ede04c.