I think when the curse is broken, everyone will remember who they are meant to be but they will still be stuck in Storybrooke hence the episode title “a land without magic”
That actually makes semse. But, you’d think they would be releaved that magic didn’t exist in this world. They’ve seen what magic can do when it falls into the wrong hands.