Fixed bug in BuddyPress activities