Allow licenses to meet the user limit exactly

Merged Robert Speicher requested to merge rs-issue-232 into master