Fix conditions.