Defaults quantity to ensure that it exists