Fix for applications with only dangerous restricted are not be counted as 3th-state