Fix issue with compulsory maximumdbsize
Merge pull request #1039 from andrerod/dev

Fix issue with compulsory maximumdbsize