This works for me – I suspect the issue is the apostrophe possibly being typed as a different unicode character if it’s curly vs. straight (I think there have been recent threads on this?)
EDIT: this is the thread I was thinking about, hope it’s helpful!