fix bug in FlowEngine::updateBCs() (reported by Luc Scholtes, thanks)