Problem With Apostrophe and Initials

Similar solution.  Change the order of the name to

O’Brien Caughy, Margaret  

Endnote without a comma will always assume the last name is the SN and the rest are the Given names.