Fix an error.
Merge pull request #4 from tsufiev/master

Fix invalid comparison nil < SUCCEDEED