refactor: reduce duplicate checking include_blocked