Fix issue 4433, make sure status is a int rather than a string
Merge pull request #4476 from mscherer/fix_4433

Fix issue 4433, make sure status is a int rather than a string