Changes after code review - swapping out hashCode nonsense for ByteBuffer comparator.