Fixing bad vector compare.