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