Made BasicCollection.set assign the default value when passed undefined