I believe that my problem is in the sql query (although they work separately in my test in phpmyadmin) Im using Buddypress and trying to filter a meta activity. If you don\'t kn