Fixed #5947 (valueFlowForward: forward conditions not handled properly)