Update convertmodis.py

bug returns 0 if false and 1 if true so != -1 is always true