fixed inactive for days
you can now query on failed, or all