Good catch, fixed in https://github.com/ezsystems/ezpublish-kernel/commit/b5f571e034d47792cf136ef0caed06cc1b51aec4