Confirm with the field office handling your application that they are able to process name changes, as sometimes they have an administrative officer instead of a judicial officer preside over the ceremony, and administrative officers aren't necessarily authorized to process name changes. Odds are they can process the name change.
Beyond that, I don' think that there will be a problem.

