Fix bug with max CPU shares