Added an assertion to find next time wrong compare functions faster ;-)