Fixed nasty bug with `gte` comparison