Fix the issue so tests can run
Fix the issue so tests can run

The date range check turned up some errors. This solution gets the tests
running again, but might not reflect the test scenarios correctly.

[#63846990]

finiteloopsoftware/django-bitemporal