Fixes #728

Proper testing will require python script to modify input file