Reverting invalid conditional