diff --git a/Source/MMRecord/MMRecordRepresentation.m b/Source/MMRecord/MMRecordRepresentation.m index feb0dd0..cc40a89 100644 --- a/Source/MMRecord/MMRecordRepresentation.m +++ b/Source/MMRecord/MMRecordRepresentation.m @@ -356,8 +356,9 @@ - (void)setupAttributeKey:(NSString *)attributeKey if (additionalKeyPaths) { [keyPaths addObjectsFromArray:additionalKeyPaths]; } - - [keyPaths addObject:attributeKey]; + else { + [keyPaths addObject:attributeKey]; + } MMRecordAttributeRepresentation *representation = [[MMRecordAttributeRepresentation alloc] init]; representation.attributeDescription = attributeDescription;