Membership Plugin Error using Kleo theme

When using the membership plugin I get the following error on the bufddypress pages..

Is there a bug with the plugin?

Catchable fatal error: Argument 1 passed to membership_exclude_inactive_users() must be an instance of BP_User_Query, instance of stdClass given in /home/content/xx/xxxxxx/html/site/wp-content/plugins/membership/membershipincludes/includes/functions.php on line 1337