geanylatex: Fix some sanity checks
Merge pull request #162 from b4n/geanylatex/check-fixes

geanylatex: Fix some sanity checks