Remove deprecation comparison warnings in _functions
Merge pull request #15 from fortitude/fix/deprecated-comparisons

Remove deprecation comparison warnings in _functions