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