Fixed using the wrong Comparable interface