Search filter Membership Status Is Overriden = "No" returns no results
Overview
The "Membership Status Is Overriden" search filter does not work when set to "No"
Reproduction steps
- Create a contact with a membership that's status is not overwritten
- Go to Find Memberships
- Search for "Membership Status Is Overriden" = "No"
Current behaviour
The created membership is not in the search results
Expected behaviour
The created membership should be in the search results.
Environment information
I encountered it on CiviCRM 5.36.1 but was also able to reproduce it on dmaster.demo.civicrm.org which was on CiviCRM 5.40.alpha1.