made sure legacy processing flag is an integer
Merge pull request #1793 from twobraids/legacy_int

fixes Bug 959876 - make sure legacy processing flag is an integer