Ensure that all collections have a maximum size defined
Bug fix