core/squit: Fix self-SQUIT logic