Fix quota display in admin panel

When a quota is configured it was not saved correctly in the database.

Fixes #50