Fixing vector compare.