Forgot to remove blanks from the array. Duh.