Prevent generating null values on collection.