Fix generic status comparison to work with Campaign and other entities
This fixes Campaign and other implemented entities.
It was only working for Membership, Contribution and ContributionRecur because of a check here 25aa7f59 but now works with all entities. I think I may have missed this from the PR before..
@ErikHommel Can you test and let me know?