Fix flow control typo

Fixes #1