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