Fix to flowConstraint.m