Adding back compare with varchar since it's back integrated into the IndexRecord now