Bug #2385 & #2418: Fix quota for nic attach when the owner is another user