Filtering Activity Feed (2 objects and 1 action OUT)

Here is my filter:

<?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) . '&object=groups,status,blogs' . '&per_page=10' ) ) : ?>

On top of that, I want filter out the action "joined_group". I thought I would nest the same if statement below but negate it so I didnt have to write out all the actions:

<?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) . '&object=groups,status,blogs' . '&per_page=10' ) ) : ?>
  <?php if !( bp_has_activities( bp_ajax_querystring( ‘activity’ ) . '&action='join_group' ) ) : ?>

its not working. I double checked that I ended the if statement in the right spot.

What do you think.

I compiled this list:

Groups:
created_group
join_group
new_group_forum_topic
new_group_forum_post

Status: (Showing up at "Actvity" in the code)
activity_update
activity_comment

Blogs:
new_blog
new_blog_post
new_blog_comment

Friends:
friendship_accepted
friendship_created

Profile:
new_avatar
new_member
updated_profile