Fixed quota exceeded check

- Quota are not exceeded when soft limit is 0
- Quota are not exceeded when quota equals the soft limit