Corrected the way that user quotas are checked for