Fix issue 4433, make sure status is a int rather than a string
Fixes a dev branch glitch where a conditional could be applied to multiple tasks.  Also improves the errors on parsing bad conditionals to make them less confusing to users.
Merge pull request #4476 from mscherer/fix_4433

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