Fixed bug in comparator that was favoring off-peak hours rather than
on-peak hours for oversupply shifting.