Make failure flag check more intutive