Correcting bad revert. Sometimes it was returing 0 instead of -1.
Merge pull request #393 from DavidKarlas/failRevert

Correcting bad revert. Sometimes it was returing 0 instead of -1.