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