Fixed bogus condition in GT, GTE, LT and LTE script tests.
Reported by dcb314 on GITHUB
Closing issue #146

(cherry picked from commit 96921f5f90919bdc3dc1a573bcb0c32899c65075)