CGE2: Simplify if-statements.