Fixed list min and max to take units into account