@chikoon , the new logic basically leaves "valid" without a reason to exist. In this code it will always be true.

However, the new logic also leaves us without any log message about invalid items, which seems like a more serious issue. Could you make sure problems are logged somewhere? Thanks!