logout link does not logout and redirect

On the top right of the theme, there is a buddypress menu. When you click on logout, it does not log you out. It just keeps you logged in and brings you to the homepage. I am using the logout redirect plugin and have it set to log out to wp-login.php. It does that when I logout from the dashboard, but not from the menu above. Please tell me how to correct this.
Thanks :slight_smile: