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