Found and squashed a bug in Flow.cpp