Fixed bug where max didn't use previously normalized value.