fixed typos "than" to "then"
Merge pull request #137 from cbeninati/patch-1

fixed typos "than" to "then"