Fixes stupid copy/paste error for code copying attributes into result object.