Inactive records are shown once the show inactive records has been disabled
Steps to reproduce:
1. Create a party and make it inactive.
2. Check the show inactive records button
3. Uncheck the show inactive records button
Expected behaviour:
- The inactive record is not shown
Current behaviour:
- The in active record is shown.
This is due because the active_test keyword is keep on the context after disabling the show inactive records button.