Bug: Who Sees Ads returns Error 500 if BuddyPress is deactivated

If I deactivate BuddyPress while Who Sees Ads is activated, all attempts to access the website (including wp-admin) will return Error 500. I had to rename the Who Sees Ads folder to force the plugin to deactivate and to regain access to WordPress.