Ensure record args are evaluated in the parent context, closes #1065