bugfix: multiple same-level categories could be selected\n\nif one category on a level was terminal while others on the same level were non-terminal (uneven nesting), multiple selections could be made on that level.\n\nbug sumbitted by Jeno