Correctly handle result conditions