Fix comparison with alpha, not beta