TW-34917 Incorrect handling of 0 quota in SharedResources