Fix FORGE-1494: Prevent NPE when creating UICommands with no categories