Fixing broken vector compare.