Fix a broken condition