Modifying conversion code to resolve #112.
Merge pull request #260 from fnothaft/sanity-check-flags

Modifying conversion code to resolve #112.