Fix dashboard to exclude discarded jobs