Revert "Comparing 2 elements of different type if they are numbers"

This reverts commit e19a1716c82dfaa440b34845096cb36cc403d2f2.