Any field can potentially be NULL. NULL means no value was ever stored yet. When dealing with 0 and 1 flags and you want to test against 0 it's always best to use "Not Equal To 1" condition to account for NULL and 0.
OK. It is strange that the conditions worked as we had originally configured them with PHP 7.4. Maybe it is change resulting from different rules in PHP 8? Anyway, things are working now as needed and, as always, we very much appreciate your support!