[Membership 2 Pro] Users status not changing after the expiry date

Users status not changing after the expiry date with their membership. On the backend, it says that status is Expired (no access), but if the member logs it, they still have access to protected content and in their account page it shows that Status is active.