Categories' handling updated, as of BEdita issue #555.