Don't rely on comparator returning -1
removed unnecessary null check
Merge pull request #781 from hneuer/doublecheck

removed unnecessary null check
Merge pull request #780 from hneuer/qssignum

Don't rely on comparator returning -1