Fixing bug where quota was refering to preferred instead of default site