Fix hover colors

The 'failed' class was never assigned on failed checks - this fixes the hover colors for the possible cases.