Bug fix for license price calculation