Fix tagmanager debug state

ScriptEntry's don't always have scripts + sometimes a filter is used to
control what should debug.