Check for objects with a truthy clause to avoid nulls, fixes #16158