404 Error while adding comment in Group Post

Hello,

We are using buddypress on our website. When someone try to place comments on any post in group it ends to 404 Not Found. This issue looks like permalink or .htaccess related issue but I am not sure if it is related to this or something else. Before posting the URL looks like this

http://domain.tld/page-permalink/group-permalink/

When someone tries to place comment the URL change to

http://domain.tld/another-page-permalink/reply/

This start coming after we migrated the site from subdomain to root domain.

Following is the configuration of my site

Wordpress: Version 3.3.1
BuddyPress: Version 1.5.3.1
S2Members Pro Version: 111220
Theme: MoviePress from PremiumPress.com

Is there any solution available for this issue?