Fixes a bug when flavors are parsed to ints

- Fixes #199