Membership 2 Pro is not redirecting to Thank You Page after registration

Redirection to Thank You page is not working on my site. After registration, users get redirected to the Membership List page. I’ve tried to delete the Membership List page and restored it again, not sure if this could be related.