Bugfix: Allocation problem with variable subrepcounts