Fixed bug in buddypress activity