handle quota for empty collections properly, fixes #10