Update convertmodis.py
Merge pull request #2 from stanfe/patch-1

fix bug returns 0 if false and 1 if true so != -1 is always true thanks to stanfe