Fixed bug that greater than weights were not negative