Fixed in https://github.com/ezsystems/ezpublish-kernel/commit/9ab1b2b3cc6b774596409666826905b8e17ec777