Fixed issue with a comparator and a reversed sign